package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户喜欢记录
 * </p>
 *
 * @author chajiu
 * @since 2021-06-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ch_user_like_record")
@ApiModel(value="UserLikeRecord对象", description="用户喜欢记录")
public class UserLikeRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "A：A喜欢B")
    private String fromUserId;

    @ApiModelProperty(value = "B：A喜欢B")
    private String likeUserId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;


}
